package com.bstek.xxlJob.jobhandler;

import com.xxl.job.core.context.XxlJobHelper;
import com.xxl.job.core.handler.IJobHandler;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

/**
 * @Title: 继承IJobHandler的方式来实现定时任务调度
 * @Package: com.bstek.xxlJob.jobhandler
 * @Description:
 * @Author: zxq
 * @Date: 2023/12/1 - 20:18
 */



@Component
public class TaskJobHandler extends IJobHandler {
    private static Logger logger = LoggerFactory.getLogger(TaskJobHandler.class);

    @Override
    public void execute()  {
        String param = XxlJobHelper.getJobParam();
    }

}
